Skip to content

Conversation

metacosm
Copy link
Collaborator

Signed-off-by: Chris Laprun [email protected]

@metacosm metacosm self-assigned this Sep 17, 2025
@metacosm metacosm requested review from csviri and xstefank September 17, 2025 18:08
@metacosm
Copy link
Collaborator Author

Can we merge this, @csviri?


private void init(ConfigurationService configurationService, boolean allowDeferredInit) {
if (configurationService == null) {
if (!allowDeferredInit) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a unit test for this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a test, though it's not great and additional documentation, along with a protected method for subclasses to set the configuration service after intialization, if needed.

Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, if there is an elegant way pls add unit test so we don't break this in the future.

Signed-off-by: Chris Laprun <[email protected]>
@metacosm metacosm requested a review from csviri September 19, 2025 12:43
@metacosm metacosm merged commit 1ab7e43 into main Sep 20, 2025
25 checks passed
@metacosm metacosm deleted the operator branch September 20, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants